﻿using System.Threading.Tasks;

namespace Dilon.Core.Service
{
    public interface ISysEmpService
    {
        Task AddOrUpdate(EmpOutput2 sysEmpParam);
        Task DeleteEmpInfoByUserId(long empId);
        Task<EmpOutput> GetEmpInfo(long empId);
        Task<long> GetEmpOrgId(long empId);
        Task<bool> HasOrgEmp(long orgId);
        Task UpdateEmpOrgInfo(long orgId, string orgName);
    }
}